.class Lcom/estrongs/android/taskmanager/fs;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/fs;->a:Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fs;->a:Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->a(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-static {v0, v1}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->a(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fs;->a:Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->a(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)I

    move-result v0

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/fs;->a:Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;

    invoke-static {v1}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->b(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)[I

    move-result-object v1

    array-length v1, v1

    if-lt v0, v1, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fs;->a:Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->finish()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/fs;->a:Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->c(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)Landroid/widget/ImageView;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/fs;->a:Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;

    invoke-static {v1}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->b(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)[I

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/fs;->a:Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;

    invoke-static {v2}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->a(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)I

    move-result v2

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    goto :goto_0
.end method
